package com.zx.erp.purchase.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.github.pagehelper.PageSerializable;
import com.zx.erp.purchase.bean.CProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zx.erp.sys.bean.Users;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
public interface CProductService extends IService<CProduct> {
    public Page<CProduct> selectP(CProduct cProduct, Integer pageNo, Integer pageSize);

    List<CProduct> findbyTypeId(Integer id);

    /**
     * 分页查询
     * @return
     */
    PageInfo<CProduct> findAll(CProduct cProduct, Integer pageNo, Integer pageSize);
}
